﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace Base.Data.Migrations
{
    public partial class add_t_iqc_area_shelf_life_table_code : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<int>(
                name: "shelf_life",
                table: "t_iqc_area",
                type: "integer",
                nullable: false,
                defaultValue: 0);

            migrationBuilder.AddColumn<string>(
                name: "table_code",
                table: "t_iqc_area",
                type: "character varying(200)",
                maxLength: 200,
                nullable: true);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "shelf_life",
                table: "t_iqc_area");

            migrationBuilder.DropColumn(
                name: "table_code",
                table: "t_iqc_area");
        }
    }
}
